package javabean;

import lombok.extern.slf4j.Slf4j;
@Slf4j
public class UserTest {
    public static void main(String[] args) {
        User user = new User();
        User user1 = new User("李四", "女", 22);
        user.setName("张三");
        user.setSex("男");
        user.setAge(22);

        log.info(user.toString());
//        System.out.println(user.toString());

        System.out.println(user.equals(user1));
        System.out.println(user.hashCode());
        System.out.println(user1.hashCode());
    }
}